// HSOperation.h: interface for the CHSOperation class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HSOPERATION_H__DD4E009D_336D_4458_BBE3_35E930A54132__INCLUDED_)
#define AFX_HSOPERATION_H__DD4E009D_336D_4458_BBE3_35E930A54132__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CHSOperation  
{
public:

	void SelectFun(const char* packet);
	void ConnectHS();
private:
	CComPtr<IComm> m_Commx;
	void LoadHSCommX();
	void Send();
	void EntrustStock(const char* packet);
	void EntrustPrice(const char* packet);
	void EntrustConfirm(const char* packet);
	void EntrustConcel(const char* packet);
	void InquirySettlementStream(const char* packet);
	void InquiryQuote(const char* packet);
	void InquiryEntrust(const char* packet);
	void InquiryKnockDown(const char* packet);
	void InquiryStock(const char* packet);
	void InquiryCapitalStream(const char* packet);
	void InquiryCaptial(const char* packet);
	void InquiryStockholder(const char* packet);
	void InquiryHistoryKnockdown(const char* packet);
	void InquiryHistoryCapitalSecurityStream(const char* packet);
	void InquiryHistoryEntrust(const char* packet);
	void MassInquiry(const char* packet);
	void MassEntrust(const char* packet);
	void MassEntrustCancel(const char* packet);
	void MassRiskControl(const char* packet);
	void MultiCreatePosition(const char* packet);
	void MultiEntrust(const char* packet);
	void MultiEntrustConcel(const char* packet);
	void MultiInquiryEntrust(const char* packet);
	void MultiInquiryKnockdown(const char* packet);
	void MultiInquiryTransactionInfo(const char* packet);
	void MultiInquiryTransactionDetails(const char* packet);
	void MultiInquiryAggregationPostion(const char* packet);
	void MultiInquiryPositionDetails(const char* packet);
protected:
	string report;
};

#endif // !defined(AFX_HSOPERATION_H__DD4E009D_336D_4458_BBE3_35E930A54132__INCLUDED_)
